<?xml version="1.0" encoding="UTF-8"?>
<!--
To change this template, choose Tools | Templates
and open the template in the editor.
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <title>Bienvenido a EvaProy</title>
<h:outputStylesheet name="css/login.css"/>
<h:outputStylesheet name="css/niceforms-default.css"/>
    </h:head>
    <h:body>        
         <table id="contenido">
             <tr>                 
                 <td colspan="2">
                    <h1 align="center"> Bienvenido a EVAPROY</h1>
                 </td>
             </tr>
             <tr>
                 <td>                     
                    <h:graphicImage id="logo" library="imagenes" name="logoGris.jpg"/>
                    </td>
                <td> 
             <div>
            <h:form id="fm">
                    <h:panelGroup id="messagePanel" layout="block">
                        <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
                    </h:panelGroup>
                    <h:panelGroup id="datoslog">
                        <h:panelGrid columns="2" id="tablita">
                            
                            <h:outputLabel  value="#{bundle.ListSessionLabel_login}:" for="login" />
                            
                            <h:panelGroup>
                            <h:graphicImage styleClass="NFTextLeft" library="img" name="0.png"/>
                            <div class="NFTextCenter">
                            <h:inputText styleClass="NFText" id="login" value="#{sesiones.login}" title="login" />
                            </div>
                            <h:graphicImage styleClass="NFTextRight" library="img" name="0.png"/>
                            </h:panelGroup>
                            
                            <h:outputLabel value="#{bundle.ListSessionLabel_password}:" for="password" />
                            
                            <h:panelGroup>
                            <h:graphicImage styleClass="NFTextLeft" library="img" name="0.png"/>
                            <div class="NFTextCenter">
                            <h:inputSecret styleClass="NFText" id="password" value="#{sesiones.passwd}" title="passwd"/>
                            </div>
                            <h:graphicImage styleClass="NFTextRight" library="img" name="0.png"/>
                            </h:panelGroup>
                            
                            
                            <h:outputLabel />
                            <h:panelGroup>
                                <h:graphicImage styleClass="NFButtonLeft" library="img" name="0.png"/>
                            <h:commandButton action="#{sesiones.validar}" styleClass="botonLogin NFButton" value="Entrar"/>
                            <h:graphicImage styleClass="NFButtonRight"  library="img" name="0.png"/>
                            </h:panelGroup>                            
                        </h:panelGrid>
                    </h:panelGroup>

            </h:form>
                 </div>
                    </td> 
                    </tr>
         </table>
</h:body>
</html>
